/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package employeemanagement;

/**
 *
 * @author pruthadesai
 */
public class HealthPlanDetails {

   int empLevel;
   String header;
   protected HealthPlanStrategy getHealthPlans(int empLevel){
       this.empLevel = empLevel;
       
       
       switch (this.empLevel){
           case 1:
               header = "You are eligible for all health benefits.";
               Level1Strategy l1 = new Level1Strategy();
               l1.getHealthPlan();
               System.out.println(l1.subSection1);
               return l1;
           case 2:
               header = "You are eligible for following benefits.";
               Level2Strategy l2 = new Level2Strategy();
               l2.getHealthPlan();
               return l2;
           case 3:
               header = "You are not eligible for any benefits";
               Level3Strategy l3 = new Level3Strategy();
               l3.getHealthPlan();
               return l3;
       }
       return null;
   }
}
